package com.cy.ppj.model.ao.manager;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import com.cy.ppj.model.enums.ManagerType;

import javax.validation.constraints.NotNull;

/**
 * @description: 管理员添加
 * @author: Ocean
 * @create: 2018-07-31 20:14
 **/
@Data
@ApiModel("管理员添加")
public class ManagerAddAO {

    @ApiModelProperty(value = "真实姓名", required = true)
    @NotEmpty(message = "真实姓名不可为空")
    private String realName;

    @ApiModelProperty(value = "电话号码", required = true)
    @NotEmpty(message = "电话号码不可为空")
    private String mobile;

    @ApiModelProperty(value = "角色ID", example = "1", required = true)
    @NotNull(message = "角色不可为空")
    private Long roleId;
    
    @ApiModelProperty(value = "账户类型", required = true)
    @NotNull(message = "账户类型不可为空")
    private ManagerType type;

    @ApiModelProperty(value = "城市ID", example = "1")
    private Long cityId;

    @ApiModelProperty(value = "渠道公司ID", example = "1")
    private Long companyId;

    @ApiModelProperty(value = "备注")
    private String remark;
}
